﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MensUnoShop.Models
{
    public interface IMarket
    {
        Guid MKGUID { get; set; }
       long TAGID { get; set; }
       string SN { get; set; }
       string TITLE { get; set; }
       string IMG { get; set; }
       Config.MarketType TYPE { get; set; }
       int SHOPPRICE { get; set; }
       int PRICE { get; set; }
       long COLORTAGID { get; set; }
       string COLORTITLE { get; set; }
       long GROUPTAGID { get; set; }
       string GROUPTITLE { get; set; }
       bool STATUS { get; set; }
       DateTime SDATE { set; get; }
       DateTime EDATE { set; get; }
       List<Product> PRODUCTLIST { get; set; }
       IMarketSalesKit MARKETSALESKIT { get; set; }
       string GetMarketUri();
       //變更購物車規格
       //bool SetMarketSpec(ref OrderMarket om, Guid scguid, int specid);
       //變更購物車數量
       bool SetMarketAmount(ref OrderMarket om, Guid scguid, int num);

       bool CheckMarket(Guid scguid, ref List<OrderMarket> mlist, Guid[] productidlist, string[] specidlist, int[] amountlist, ref string error);

    }
}
